/* $Id: DJudgeGWTLoginService.java 138 2011-09-01 17:51:37Z altdotua@gmail.com $ */

package alt.djudge.frontend.client.rpc;

import alt.djudge.frontend.shared.dto.contest.UserLoginInfo;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("djudge-gwt-login")
public interface DJudgeGWTLoginService extends RemoteService
{
	public UserLoginInfo doLogin(String username, String password);
	
	public boolean doLogout(String sessionId);
	
	public boolean doRegister(String username, String password, String email);
}
